<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>表格设置</title>
    <style type="text/css">
        .datalist {
            color: #0046a6;
            background-color: #D2E8FF;
            font-family: Arial,楷体;
            /* 边框重叠 */
            border-collapse: collapse;
        }
        /* 单元格边框 */
        .datalist th .datalist td {
            border: #007EFF solid 1px;
        }
        /* 隔行变色 */
        .datalist tr.oddrow {
            background-color: #AABBCC;
        }
        /* 表格 */
        table,th, td {
            width:  100px;
            height: 5px;
            border: 2px solid bisque;
        }
    </style>
</head>

<body>
<table class="datalist">
    <caption>名单</caption>
    <tr>
        <th>号码</th>
        <th>姓名</th>
    </tr>
    <tr class="oddrow">
        <td>003</td>
        <td>张三</td>
    </tr>
    <tr>
        <td>004</td>
        <td>李四</td>
    </tr>
    <tr class="oddrow">
        <td>005</td>
        <td>王五</td>
    </tr>
    <tr>
        <td>006</td>
        <td>赵六</td>
    </tr>
    <tr class="oddrow">
        <td>007</td>
        <td>钱七</td>
    </tr>
    <tr>
        <td>008</td>
        <td>孙八</td>
    </tr>
</table>
</body>
</html>
